home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
COMAL
/
T-COMAL Today
/
(k)t3.d64
/
obj'load.l
< prev
next >
Wrap
Text File
|
2007-02-28
|
1KB
|
47 lines
9000 // EMULATE OBJ_LOAD FUNCTION
9010 // (C)1984 W. LOUIE 05/26/84
9020 //
9030 // WALLACE LOUIE
9040 // 3407 AVENUE 'S'
9050 // BROOKLYN, N.Y. 11234
9060 //
9070 //
9080 PROC OBJ'LOAD(FILENAME$,DEVICE) CLOSED
9090 FOR I:=1 TO LEN(FILENAME$) DO
9100 POKE 827+I,ORD(FILENAME$(I))
9110 ENDFOR I
9120 POKE 850,169 // LDA
9130 POKE 851,DEVICE
9140 POKE 852,170 // TAX
9150 POKE 853,160 // LDY #$FF
9160 POKE 854,255
9170 POKE 855,32 // JSR $FFBA
9180 POKE 856,186
9190 POKE 857,255
9200 POKE 858,169 // LDA
9210 POKE 859,LEN(FILENAME$)
9220 POKE 860,162 // LDX #$3C
9230 POKE 861,60
9240 POKE 862,160 // LDY #$03
9250 POKE 863,3
9260 POKE 864,32 // JSR $FFBD
9270 POKE 865,189
9280 POKE 866,255
9290 POKE 867,169 // LDA #$00
9300 POKE 868,0
9310 POKE 869,162 // LDX #$FF
9320 POKE 870,255
9330 POKE 871,160 // LDY #$FF
9340 POKE 872,255
9350 POKE 873,32 // JSR $FFD5
9360 POKE 874,213
9370 POKE 875,255
9380 POKE 876,169 // LDA
9390 POKE 877,DEVICE
9400 POKE 878,32 // JSR $FFC3
9410 POKE 879,195
9420 POKE 880,255
9430 POKE 881,96 // RTS
9440 SYS 850
9450 ENDPROC OBJ'LOAD